package com.ems.service;

import com.ems.entity.TMachine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ems.entity.TPressureCurve;
import com.ems.entity.TTemperatureCurve;

import java.awt.*;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CSC
 * @since 2022-06-28
 */
public interface ITMachineService extends IService<TMachine> {
    int addMachine(TMachine tMachine);
    int deleteMachine(Integer id);
    int updateMachine(TMachine tMachine);
    List<TMachine> getListMachine();
    List<TMachine> getStateById(Integer id);
    List<TTemperatureCurve> getTempList();
    List<TPressureCurve> getPressureList();

    boolean updateStatus(Integer id, TMachine tMachine);

    boolean repair(Integer id, TMachine tMachine);
    }

